package com.yida.gwj.deposit.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @Description 小区分户清册响应对象
 * @Author wws
 * @Date 2023-02-22
 */
@ApiModel("小区分户清册")
public class GwjCommunityHouseholdRecordTopDTO {

    @ApiModelProperty("业务主键")
    private Long bizId;

    @ApiModelProperty("小区主键")
    private Long communityId;

    @ApiModelProperty("小区名称")
    private String communityName;

    @ApiModelProperty("缴存人员")
    private String applicantName;

    @ApiModelProperty("开发商主键")
    private Long estateId;

    @ApiModelProperty("开发商名称")
    private String estateName;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("对账时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date checkTime;


    public Long getBizId() {
        return bizId;
    }

    public void setBizId(Long bizId) {
        this.bizId = bizId;
    }

    public Long getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Long communityId) {
        this.communityId = communityId;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getApplicantName() {
        return applicantName;
    }

    public void setApplicantName(String applicantName) {
        this.applicantName = applicantName;
    }

    public Long getEstateId() {
        return estateId;
    }

    public void setEstateId(Long estateId) {
        this.estateId = estateId;
    }

    public String getEstateName() {
        return estateName;
    }

    public void setEstateName(String estateName) {
        this.estateName = estateName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("GwjCommunityHouseholdRecordTopDTO{");
        sb.append("bizId=").append(bizId);
        sb.append(", communityId=").append(communityId);
        sb.append(", communityName='").append(communityName).append('\'');
        sb.append(", applicant='").append(applicantName).append('\'');
        sb.append(", estateId=").append(estateId);
        sb.append(", estateName='").append(estateName).append('\'');
        sb.append(", phone='").append(phone).append('\'');
        sb.append(", checkTime=").append(checkTime);
        sb.append('}');
        return sb.toString();
    }
}
